package org.wz.complex.work.entity.project.database;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("project_database_source")
public class DatabaseSource {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String ipHost;

    private Integer port;

    private String user;

    private String password;

    private String category; // mysql,  postgresql,  oracle , db2

    // docker  ,   zip,   brew,  yum, aliyun,  all
    private String type;

    private String deploy;  // mac ,  acer, surf, aliyun

    private String name;


}
